<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>wwwApp: config.php.template Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">wwwApp
   </div>
   <div id="projectbrief">A web app for workshop organizing, recruitment and qualification</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">config.php.template</div>  </div>
</div><!--header-->
<div class="contents">
<a href="config_8php_8template.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;&lt;?php</div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *      config.php contains site-specific configurations.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *      You shouldn&#39;t copy it between local/remote servers.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="code" href="config_8php_8template.html#a2344febf266e5f02233a920c7961b0f1">    7</a></span>&#160;define(<span class="stringliteral">&#39;ABSOLUTE_PATH_PREFIX&#39;</span>, <span class="stringliteral">&#39;/www/www/&#39;</span>); <span class="comment">// Should end with a slash.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="code" href="config_8php_8template.html#a4fff6e8fdb2563db0aea5662e05d8395">    8</a></span>&#160;define(<span class="stringliteral">&#39;ROOT_PASSWORD&#39;</span>, <span class="stringliteral">&#39;introduce smooth sawtooth trajectory&#39;</span>);</div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="code" href="config_8php_8template.html#ac555f45675f5c7f30bdd1c54e441e3f2">    9</a></span>&#160;define(<span class="stringliteral">&#39;PASSWORD_SALT&#39;</span>, <span class="stringliteral">&#39;somerandomstring&#39;</span>);</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="code" href="config_8php_8template.html#ac9653ccb6a064b75f6ccc9b9d5085f69">   10</a></span>&#160;define(<span class="stringliteral">&#39;GOOGLE_ANALYTICS_ACCOUNT&#39;</span>, <span class="keyword">false</span>); <span class="comment">// E.g. &#39;UA-12345678-9&#39;.</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// Database</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="code" href="config_8php_8template.html#a5f2257735345fb41d6dbb3f7a9036a4b">   12</a></span>&#160;define(<span class="stringliteral">&#39;TABLE_PREFIX&#39;</span>, <span class="stringliteral">&#39;w1_&#39;</span>); <span class="comment">// Shouldn&#39;t be empty.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="code" href="config_8php_8template.html#a47a6f3afb72e2ba299cd75c4104ecc65">   13</a></span>&#160;define(<span class="stringliteral">&#39;DB_DRIVER&#39;</span>, <span class="stringliteral">&#39;PostgreSQL&#39;</span>); <span class="comment">// Currently only PostgreSQL is available.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="code" href="config_8php_8template.html#a267d3f58b569457e559f090f113dee0f">   14</a></span>&#160;define(<span class="stringliteral">&#39;DB_CONNECTION_STRING&#39;</span>, <span class="stringliteral">&#39;host=localhost user=www dbname=www&#39;</span>); <span class="comment">// As in pg_connect().</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// Emails and logs</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="code" href="config_8php_8template.html#a5f69b1d39894d1df9f8cb3f93a7dd018">   16</a></span>&#160;define(<span class="stringliteral">&#39;ERROR_LOG&#39;</span>, <span class="keyword">false</span>); <span class="comment">// False or absolute path to writable text file.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="code" href="config_8php_8template.html#a5c3cdee20942e4753d2dcdb4a36085ef">   17</a></span>&#160;define(<span class="stringliteral">&#39;ERROR_EMAIL&#39;</span>, <span class="keyword">false</span>); <span class="comment">// Send an email in case of any error.</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="code" href="config_8php_8template.html#ad44b83fd76c17d2ae868b79ce296e01d">   18</a></span>&#160;define(<span class="stringliteral">&#39;ERROR_EMAIL_ADDRESS&#39;</span>, <span class="stringliteral">&#39;mwrochna+wwwerror@gmail.com&#39;</span>);</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="code" href="config_8php_8template.html#a161dd3855c85d166da6a623576b28b83">   19</a></span>&#160;define(<span class="stringliteral">&#39;BUGREPORT_EMAIL_ADDRESS&#39;</span>, <span class="stringliteral">&#39;mwrochna+wwwbugreport@gmail.com&#39;</span>);</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="code" href="config_8php_8template.html#a3d9474a4fcc27921b06c680f69ec3b69">   20</a></span>&#160;define(<span class="stringliteral">&#39;EMAIL_METHOD&#39;</span>, <span class="stringliteral">&#39;display&#39;</span>); <span class="comment">// Use this if you want emails to be displayed on the page, instead of being sent.</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">// define(&#39;EMAIL_METHOD&#39;, &#39;gmail&#39;); // See email.php for details.</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">// define(&#39;OAUTH2_CLIENT_ID&#39;, &#39;1111111111111.apps.googleusercontent.com&#39;);</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">// define(&#39;OAUTH2_CLIENT_SECRET&#39;, &#39;1AabABCDEFGzy-Abcdefgh12&#39;);</span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Sep 8 2013 17:44:56 for wwwApp by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.1
</small></address>
</body>
</html>
